import  matplotlib.pyplot as plt
import  pandas as pd

# 折线图
# plt.plot([1,2,3,4,5])
# 散点图
# plt.plot([1,2,3,4,5],[2,5,8,12,18],'ro')
#

df = pd.read_excel('体温.xls')
x = df['日期'] # x
y = df['体温'] # y
# plt.plot(x,y)

plt.plot(x,y,color='blue',linestyle='-.',marker='o',mfc='w')
plt.show()